using System.Linq;
using System.Collections.Generic;
using System;

namespace Haushaltsbuch.Events
{
    public class MessageToUserEvent
    {
        public string Message { get; set; }
        public int Duration { get; set;}
        public MessageType Type { get; set; }

        public MessageToUserEvent(string message, MessageType type)
        {
            this.Message = message;
            this.Type = type;
            this.Duration = 5;
        }

        public MessageToUserEvent(string message, int duration, MessageType type)
        {
            this.Message = message;
            this.Duration = duration;
            this.Type = type;
        }
    }

}